package top.buyibuyi.course.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.buyibuyi.course.dao.SelectStudentByChoosecourse;
import top.buyibuyi.course.pojo.StuSchose;
import top.buyibuyi.course.service.SelectStudentByChoosecourseService;

import java.util.List;

@Service
public class SelectStudentByChoosecourseServiceImpl implements SelectStudentByChoosecourseService {

    @Autowired
    private SelectStudentByChoosecourse selectStudentByChoosecourse;

    @Override
    public List<StuSchose> selectStudentByChooseid(int chooseid) {
        return selectStudentByChoosecourse.selectStudentByChooseid(chooseid);
    }
}
